package com.king.designpatterns.结构型模式.装饰模式;

/**
 * 汽车修饰抽象类
 *
 * @author king
 * @date 2021-06-08 11:13
 */
public abstract class CarDecorator {
    private Car car;

    public CarDecorator(Car car) {
        this.car = car;
    }

    public void show(){
        this.car.show();
    }
}
